<?
session_start();
$MM_restrictGoTo = "index.php";
if (!(isset($_SESSION["bsession"]))) 
{   
  $MM_referrer = $_SERVER['PHP_SELF'];
  if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0) 
  $MM_referrer .= "?" . $QUERY_STRING;
  header("Location: ". $MM_restrictGoTo); 
  exit;
}
include "../resources/bd/db.php";

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
<style type="text/css">
<!--
.style1 {
	color: #000000;
	font-weight: bold;
	font-size: xx-large;
}
.style2 {
	font-size: x-large;
	color: #0000CC;
}
.style3 {
	font-family: Harrington;
	color:#000066;
	font-size: 36px;
}
.style4 {font-family: Harrington; color: #000000; font-size:10px; }
-->
</style>

<script type="text/javascript" src="menu/jquery-1.2.2.pack.js"></script>
<script type="text/javascript" src="menu/ddaccordion.js">
</script>
<script type="text/javascript">


ddaccordion.init({
	headerclass: "submenuheader", //Shared CSS class name of headers group
	contentclass: "submenu", //Shared CSS class name of contents group
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["suffix", "<img src='menu/plus.gif' class='statusicon' />", "<img src='menu/minus.gif' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "normal", //speed of animation: "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isclicked){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})


</script>
</head>



<body>
<table width="800" border="0" align="center">
  <!--DWLayoutTable-->
  <tr>
    <td height="86" colspan="2"><img src="images/img01.png" width="799" height="84" /></td>
  </tr>
  <tr>
    <td width="161" height="144" align="center" valign="middle"><img src="images/Administracion.png" width="112" height="117" /><br><span class="style4"><? echo $_SESSION["usuario"]; ?></span></td>
  </tr>
  <tr>
    <td valign="top"><? include "menu/menuPrincipal.php"; //MENU.php ?></td>
  </tr>
  <tr>
    <td height="86" colspan="2"><img src="images/img09.png" width="799" height="84" /></td>
  </tr>
</table>


</body>

</html>